/*
 * main.cpp
 *
 *  Created on: Nov 11, 2011
 *      Author: matt
 */



#include <ctime>
#include <string.h>
#include "Simulation.h"
using namespace falko;





int main(int argc, char **argv)
{
	if (argc < 2)
	{
		std::cerr << "need configuration file\n";
		return EXIT_FAILURE;
	}

	if (argc == 2)
	{
		Simulation s;
		s.run(argv[1]);
	}
	else
		if (argc ==3 && !strcmp(argv[1], "-p"))
			plotVectorField(argv[2]);

    return EXIT_SUCCESS;
}
